package com.webc.demo.controller;

import com.webc.framework.annotation.GetMapping;
import com.webc.framework.annotation.PostMapping;
import com.webc.framework.annotation.RestController;

/**
 * 0. git clone
 * 1. git stash
 * 2. git pull 代码
 * 3. git unStash  merge 合并解决冲突
 * 4. git commit 提交代码到本地仓库
 * 5. git push
 *
 * @author hejianglong
 * @date 2018/9/7.
 */
@RestController
public class UserController {

    @GetMapping(path = "/testUser")
    public String testUser() {
        return "ly";
    }

    @PostMapping(path = "/testP")
    public String testP() {
        return "post";
    }

    @GetMapping(path = "/testHello")
    public String test() {
        return "aaa";
    }

}
